<template>
  <div>
    <van-nav-bar
      fixed
      placeholder
      safe-area-inset-top
      title="搞钱秘籍"
      @click-left="back"
    >
      <template #left>
        <van-icon name="arrow-left" size="16px" color="#333" />
      </template>
    </van-nav-bar>
    <img src="@/assets/getmoney.png" alt="" width="100%"/>
    <div class="btn">
      <button @click="goBuyAgent">加入会员，立即赚钱</button>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    goBuyAgent(){
      this.$router.push("/buyjoin")
    },
    back() {
      this.$router.go(-1);
    },
  },
};
</script>

<style lang="less" scoped>
*{
  margin: 0;
  padding: 0;
}
img{
  display: block;
}
.btn{
  text-align: center;
  position: fixed;
  bottom: 10px;
  width: 92vw;
  margin: 0 4vw;
  button{
    width: 100%;
    height: 12vw;
    border-radius: 22.5px;
    color: #fff;
    background-image: linear-gradient(to bottom right, #f16e67, #d43b33);
    border: 0;
  }
}
</style>